import { createSSRApp } from "vue";
import pinia from "./store"; // 引入pinia
import App from "./App.vue";
import lan from "./common/lan.js";
export function createApp() {
  const app = createSSRApp(App);
  app.config.globalProperties.$r = "全局变量"; // 全局注册

  app.use(pinia);
  return {
    app,
    pinia,
  };
}
